home *** CD-ROM | disk | FTP | other *** search
- class §#68§
- {
- function §#68§(name, type, x, y, §#204§)
- {
- this.x = x;
- this.y = y;
- this.name = name;
- this.type = type;
- this["#204"] = §#204§;
- this["#59"] = true;
- this["#111"]();
- this.bonusObject._visible = false;
- }
- function §#450§()
- {
- this.bonusObject._visible = false;
- this.bonusObject.unloadMovie();
- }
- function §#45§()
- {
- this.bonusObject._visible = false;
- this.bonusObject.unloadMovie();
- this.bonusObject = null;
- }
- function hide()
- {
- this.bonusObject._visible = false;
- }
- function show()
- {
- this.bonusObject._visible = true;
- }
- function §#111§()
- {
- if(this["#59"])
- {
- if(this.bonusObject != null)
- {
- this["#45"]();
- }
- this.bonusObject = _root.attachMovie("bonus_" + this.type + "_dark",this.name + "_" + this.type + "_dark",this["#204"]);
- this.bonusObject._x = this.x;
- this.bonusObject._y = this.y;
- this["#59"] = false;
- }
- }
- function §#273§()
- {
- if(!this["#59"])
- {
- if(this.bonusObject != null)
- {
- this["#45"]();
- }
- this.bonusObject = _root.attachMovie("bonus_" + this.type + "_lit",this.name + "_" + this.type + "_lit",this["#204"]);
- this.bonusObject._x = this.x;
- this.bonusObject._y = this.y;
- this["#59"] = true;
- }
- }
- function §#460§()
- {
- return this["#59"];
- }
- }
-